projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5379804
)
(describe-function-1): Regexp-quote function name
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 29 Nov 2000 20:05:18 +0000
(20:05 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 29 Nov 2000 20:05:18 +0000
(20:05 +0000)
when used as part of a regexp.
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index b3e726ba27ce93039e81ee9c8d6019d388acdb22..2690cdc9c043883aa9aa40ec1b993b2438f6d5e7 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-744,7
+744,7
@@
It can also be nil, if the definition is not associated with any file."
(name (progn
(string-match " \\([^ ]+\\)>$" rep)
(match-string 1 rep))))
- (if (looking-at (format "(%s[ )]"
name
))
+ (if (looking-at (format "(%s[ )]"
(regexp-quote name)
))
(let ((start (point-marker)))
(goto-char (point-min))
(forward-paragraph)